package com.byxy.common.service;

import java.io.Serializable;
import java.util.List;

public interface BaseService<T> {
	public void add(T entity);//���
	public void delete(T entity);// ɾ��
	public void update(T entity);//����
	public List<T> all();//��ʾ����
	public int conut();//���и���
	public T get(Serializable id);//��ѯ����
	public List<T> parts(int page, int row);//��ҳ
}
